/**
 * 
 */
package com.tvshows.front.view.labels;

import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.widgets.Display;

/**
 * @author tangi
 * <p>
 * Specifics font for the application
 * </p>
 */
public class FontAssociation
{

    /**
     * Return the font
     * 
     * @param display the display
     * @return the associated font
     */
    public static Font getFont( Display display )
    {

        FontData fontData = new FontData();
        fontData.setName( "Arial" );
        fontData.height = 10;

        return new Font( display, fontData );
    }

    /**
     * The text in "about..."
     */
    public final static String ABOUT_TEXT = "Logiciel TvShows \n"
        + "Récupération des .torrent pour les ajouter directement\n"
        + "Dans le software choisi dans la configuration\n\n" + "Auteur : Tangi Midy \n" + "Version : 1.0";

}
